﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:View="clr-namespace:MvcMusicStore.BI.Client.View"
        xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" x:Name="window" x:Class="MvcMusicStore.BI.Client.MainWindow"
        Title="MainWindow"
        Height="600"
        Width="800" WindowStyle="None" WindowState="Maximized">
  <Grid>
    <View:Sales/>
    <Button Content="X" HorizontalAlignment="Right" Width="32" Margin="0,10,10,0" VerticalAlignment="Top">
      <i:Interaction.Triggers>
        <i:EventTrigger EventName="Click">
          <ei:CallMethodAction TargetObject="{Binding ElementName=window}" MethodName="Close"/>
        </i:EventTrigger>
      </i:Interaction.Triggers>
    </Button>
  </Grid>
</Window>